/*
 * @Description: 项目管理成果关键词接口
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2021-09-07 14:30:12
 * @LastEditTime: 2021-09-07 17:40:22
 * @FilePath: \cscec-pms-admin\src\api\project\achievementKey.js
 */
import request2 from '@/utils/request2'
import { projectApiUrl } from '@/api/config'

export default {
  /**
   * @description: 新增
   * @param {Object} data 接口参数
   * @return {Promise} 接口Promise
   */
  batchAdd: data => {
    return request2({
      url: projectApiUrl + '/plan-label/batchAdd',
      method: 'post',
      data
    })
  },
  /**
   * @description: 编辑
   * @param {Object} data 接口参数
   * @return {Promise} 接口Promise
   */
  edit: data => {
    return request2({
      url: projectApiUrl + '/plan-label/edit',
      method: 'post',
      data
    })
  },
  /**
   * @description: 删除
   * @param {Object} data 接口参数
   * @return {Promise} 接口Promise
   */
  delete: data => {
    return request2({
      url: projectApiUrl + '/plan-label/delete',
      method: 'post',
      data
    })
  }
}